package com.xiaotu.service;

import com.github.pagehelper.PageInfo;
import com.xiaotu.entity.Admin;

import java.util.List;

public interface AdminService {
        void saveAdmin(Admin admin);

    List<Admin> getAll();

    Admin getAdminByLoginAcct(String loginAcct, String userPswd);

    PageInfo<Admin> getPageInfo(String keyword,Integer pageNum,Integer pageSize);

    void removeAdminId(Integer adminId);

    Admin getAdminByAdminId(Integer adminId);

    void update(Admin admin);
}
